package com.ciwong.epaper.modules.scan.bean;

import com.ciwong.mobilelib.bean.BaseBean;

import java.util.List;

/**
 * 电子报二维码本地数据
 *
 * @author bin
 * @version ciwong v.1.0 2015/8/10 14:07
 * @since ciwong v.1.0
 */
public class QRCodeInfo extends BaseBean
{

//    private static final long serialVersionUID = 8926991508077183157L;
    /**
     * 本地key.扫描二维码后,通过扫描的key匹配此字段
     */
    private String url;

    /**
     * 二维码名称
     */
    private String codeName;

    /**
     * 资源包ID
     */
    private String packageId;

    /**
     * 资源包目录ID
     */
    private String cId;

    /**
     * 二维码类型.目前电子报为9.只处理type=9的数据
     */
    private int type;

    /**
     * 二维码创建时间
     */
    private int createTime;

    /**
     * 二维码包含的资源集
     */
    private List<QRCodeDetail> resourceList;

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getCodeName()
    {
        return codeName;
    }

    public void setCodeName(String codeName)
    {
        this.codeName = codeName;
    }

    public String getPackageId()
    {
        return packageId;
    }

    public void setPackageId(String packageId)
    {
        this.packageId = packageId;
    }

    public String getcId()
    {
        return cId;
    }

    public void setcId(String cId)
    {
        this.cId = cId;
    }

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public int getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(int createTime)
    {
        this.createTime = createTime;
    }

    public List<QRCodeDetail> getResourceList()
    {
        return resourceList;
    }

    public void setResourceList(List<QRCodeDetail> resourceList)
    {
        this.resourceList = resourceList;
    }
}
